<?php

class IndexAction extends CommonAction
{

	public function index()
    {
		$setup = M(Setup);
		$hlist = $setup->Select();
		$this->assign('hlist',$hlist);
//dump ($hlist);
    	$this->display();

    }

    /**
    +----------------------------------------------------------
    * 探针模式
    +----------------------------------------------------------
    */
    public function checkEnv()
    {
        load('pointer',THINK_PATH.'/Tpl/Autoindex');//载入探针函数
        $env_table = check_env();//根据当前函数获取当前环境
        echo $env_table;
    }


}
?>